package com.dgut.coal.dao;

import com.dgut.coal.entity.Audit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Yang
 * @Description:
 * @Date: Created in 15:16 2019/10/6
 * @Modifued BY:
 */
@Repository
public interface AuditDao {

    int pass(@Param("apply_id") Integer apply_id, @Param("operator") String operator, @Param("audit_content") String audit_content, @Param("audit_date") String audit_date);

    int reject(@Param("apply_id") Integer apply_id, @Param("operator") String operator, @Param("audit_content") String audit_content, @Param("audit_date") String audit_date);

    List<Audit> auditList(@Param("apply_id") Integer apply_id);
}
